<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>文献共享</title>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
		
	</style>
</head>
<body>
	<%@ include file="include/topbar.jsp" %>
		<div class="container" style="margin-top: 60px">
			<div class="row">
				<jsp:include page="include/left.jsp">
					<jsp:param value="share" name="tag"/>
				
				</jsp:include>
		
		<div class="span9 ">
			<div class="breadcrumb" style="margin-bottom:0px;border-radius:3px 3px 0 0">	
						
							<h4 style="display:inline"><i class=" icon-folder-close"></i>&nbsp;文件夹列表</h4>

							<a href="addfolder.jspx" class=" pull-right" style="font-weight:bold">＋新建文件夹</a>
						
			</div>	
			
		<div class=" wall" style="padding:15px;min-height:360px">
          	<table class="table table-striped ">
          	<c:if test="${empty folderlist }">
          				<p style="text-align:center">暂时没有文件夹！</p>
          	</c:if>
          	<c:if test="${ not empty folderlist }">
          		<thead>
          			<tr>
          				<th style="width:7%"></th>
          				<th style="width:50%">文件夹名称</th>
          				<th style="width:25%;padding-left:30px">创建时间</th>
          				<th>创建人</th>
          			</tr>
          		
          		</thead>
          	
          		<tbody>
          			
          			<c:forEach items="${folderlist }" var="f">
          				<tr>
          					<td style="width:7%"><img src="img/folder.png"/></td>
          					<td style="width:50%"><a href="file.jspx?foid=${f.id }">${f.name }</a></td>
          					<td style="width:25%">${f.createtime }</td>
          					<td style="padding-left:20px">${f.t_user_name }</td>
          				</tr>
          			
          			</c:forEach>
          			
          		
          		</tbody>
          	</c:if>
          	</table>
        
      </div>

	</div>
</div></div>
	
</body>
</html>
